/**
 * @author Ucar Sahin
 *
 * 20.04.2011
 * Plan.java
 */

package at.fhv.easyDietWeb.shared.db.diet;

import java.util.Date;

import at.fhv.easyDietWeb.shared.db.masterData.Person;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * information: represents the table Plan on the database
 */
public class Plan implements IsSerializable
{

	private int _planId;
	private String _type;
	private Therapy _therapy;
	private Date _startDate;
	private Date _endDate;
	private Person _createdBy;
	private String _description;
	private String _recommendation;

	private void setPlanId(int planId)
	{
		_planId = planId;
	}

	public int getPlanId()
	{
		return _planId;
	}

	public void setTherapy(Therapy therapy)
	{
		_therapy = therapy;
	}

	public Therapy getTherapy()
	{
		return _therapy;
	}

	public void setStartDate(Date startDate)
	{
		_startDate = startDate;
	}

	public Date getStartDate()
	{
		return _startDate;
	}

	public void setEndDate(Date endDate)
	{
		_endDate = endDate;
	}

	public Date getEndDate()
	{
		return _endDate;
	}

	public void setCreatedBy(Person createdBy)
	{
		_createdBy = createdBy;
	}

	public Person getCreatedBy()
	{
		return _createdBy;
	}

	public void setDescription(String description)
	{
		_description = description;
	}

	public String getDescription()
	{
		return _description;
	}

	public void setRecommendation(String recommendation)
	{
		_recommendation = recommendation;
	}

	public String getRecommendation()
	{
		return _recommendation;
	}

	public void setType(String type)
	{
		_type = type;
	}

	public String getType()
	{
		return _type;
	}
}
